#include "ntray.h"


class CMainFrame : public CFrameWnd
{
public:
	CMainFrame();
	virtual ~CMainFrame();

protected:
	//{{AFX_VIRTUAL(CMainFrame)
	//}}AFX_VIRTUAL

	DECLARE_DYNCREATE(CMainFrame)

	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnCommandRangeFxn(UINT nId);
	//afx_msg void OnHappy();
	//afx_msg void OnUpdateHappy(CCmdUI* pCmdUI);
	//afx_msg void OnSad();
	//afx_msg void OnUpdateSad(CCmdUI* pCmdUI);
	//afx_msg void OnAnimated();
	//afx_msg void OnUpdateAnimated(CCmdUI* pCmdUI);
	//afx_msg void OnTimer(UINT_PTR nIDEvent);
	afx_msg void OnDestroy();
	//afx_msg void OnUpdateShow(CCmdUI* pCmdUI);
	//afx_msg void OnShow();
	//afx_msg void OnUpdateHide(CCmdUI* pCmdUI);
	//afx_msg void OnHide();
	//}}AFX_MSG
	afx_msg LRESULT OnTrayNotification(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()

	HICON m_hIcons[2];
	// BOOL m_bHappy;
	CDC m_TrayIconDC;
	CBitmap m_BitmapTrayIcon;
	// UINT_PTR m_nTimerID;
	// int m_nTimerCount;
};

